package com.cug.smartranch.animal.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cug.smartranch.animal.admin.dao.entity.AnimalHealth;
import com.cug.smartranch.animal.admin.dto.req.AnimalHealthSaveReqDTO;
import com.cug.smartranch.animal.admin.dto.resp.AnimalHealthQueryRespDTO;

import java.util.List;
import java.util.Map;

/**
 * 动物健康信息业务逻辑层
 */
public interface AnimalHealthService extends IService<AnimalHealth> {
    /**
     * 创建动物健康记录
     *
     * @param requestParam 请求参数
     */
    void createAnimalHealth(AnimalHealthSaveReqDTO requestParam);

    List<AnimalHealthQueryRespDTO> findAnimalHealth(Long animalId);

    void createMockAnimalHealth(Long animalId);

    Map<String, Double> findAnimalHealthRatio();

}
